﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Zocono.WCS.Domain.EntityInfo;
using Zocono.WCS.Infrastructure.ApllicationDto.DtoWcsManage;

namespace Zocono.WCS.Domain.ScWorkModelDomain
{
    public interface IScWorkModelService
    {
        Task<List<ScWorkModelInfo>> GetScWorkModelInfo();
        Task<List<ScWorkModelInfoDto>> GetScWorkModelInfoDto();
        Task<bool> UpdateScWorkModelInfo(ScWorkModelInfoDto scWorkModelInfo);
        Task<bool> CreateScWorkModelInfoAsync(ScWorkModelInfoDto scWorkModelInfoDto);
        Task<ScWorkModelInfoDto> GetScWorkModelByIdAsync(long id);
        /// <summary>
        /// 删除数据根据id
        /// </summary>
        /// <param name="id"></param>
        /// <returns></returns>
        Task<bool> DeleteScWorkModelInfoByIdAsync(long id);
    }
}
